<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Constants for PDO_4D</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-4d.connection.html">PDO_4D DSN</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="pdo-4d.sqltypes.html">SQL types with PDO_4D and PHP</a></div>
 <div class="up"><a href="ref.pdo-4d.html">4D (PDO)</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="pdo-4d.constants" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Constants for PDO_4D</h1>
  <p class="verinfo">(No version information available, might only be in Git)</p><p class="refpurpose"><span class="refname">Constants for PDO_4D</span> &mdash; <span class="dc-title">Constants for PDO_4D</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-pdo-4d.constants-description">
  <h3 class="title">预定义常量</h3>
  <p class="simpara">下列常量由此驱动定义，且仅在扩展编译入 PHP
或在运行时动态载入时可用。另外，使用此驱动时，仅会使用这些驱动特定的常量。使用其他驱动的驱动特定的常量可能会导致不可预见的情况。如果代码可运行于多个驱动，<span class="function"><a href="pdo.getattribute.html" class="function">PDO::getAttribute()</a></span>
可被用于获取
<strong><code>PDO_ATTR_DRIVER_NAME</code></strong>
属性以检查驱动。</p>
  <dl>

   
    <dt id="pdo.constants.fourd-attr-charset">
     <strong><code>PDO::FOURD_ATTR_CHARSET</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      Change the charset in which 4D returns data.
      (Default is UTF-8).
     </p>
    </dd>

   
   
    <dt id="pdo.constants.fourd-attr-preferred-image-types">
     <strong><code>PDO::FOURD_ATTR_PREFERRED_IMAGE_TYPES</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
    </dt>

    <dd>

     <p class="para">
      The requested format of the image, when selecting a row
      with a column type PICTURE. It may be any type that 4D supports.
     </p>
    </dd>

   
  </dl>

 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ref.pdo-4d.connection.html">PDO_4D DSN</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="pdo-4d.sqltypes.html">SQL types with PDO_4D and PHP</a></div>
 <div class="up"><a href="ref.pdo-4d.html">4D (PDO)</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
